#pragma once
//============================================================================
// Copyright (C) 2009-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

class VxSktBase;

// implements a manager to manage accept sockets
class RcSktAcceptMgr : public VxSktAcceptMgr
{
public:

	//=== vars ===//
	static int				m_iAcceptMgrCnt;		// number of managers created
	int						m_iMgrId;				// unique id for this manager

	//=== constructor ===//
	RcSktAcceptMgr();
	//=== destructor ===//
	virtual ~RcSktAcceptMgr();

	//! make a new socket... give derived classes a chance to override
	virtual VxSktBase *		makeNewSkt( void );
};

